/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import entities.FlMember;
import entities.FlMembergroup;
import java.io.Serializable;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 *
 * @author niit
 */
public class FlMembergroupDao implements Serializable{
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("FastLearnWebsitePU");
    EntityManager em = emf.createEntityManager();
    FlMember fm = new FlMember();
    
    public boolean isAdmin(FlMember member){
        FlMembergroup membergroup = new FlMembergroup();
        membergroup.getMemberid();
        return false;
    }
    
    public boolean isStudent(FlMember member){
        return false;
    }
    
    public boolean isFaculty(FlMember member){
        return false;
    }
}
